package cj.web.marriage.domain;
/*
 *  
 *  
*/
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;

import cj.web.admin.domain.DataTablePage;

import java.io.Serializable;

/**
 * TODO: add class/table comments
 */
public class ApplyTmp extends DataTablePage implements Serializable {

    protected Integer id;
	protected String student;
	protected String phone;
	protected String school;
	protected String classes;
	protected String schooltime;
	protected java.util.Date createAt;
	protected Integer classId;
	protected Integer deleteFlag;


	/**
	 * Default Empty Constructor for class ApplyTmp
	 */
	public ApplyTmp () {
		super();
	}
	
	/**
	 * Default Key Fields Constructor for class ApplyTmp
	 */
	public ApplyTmp (
		 Integer in_id
        ) {
		this.setId(in_id);
    }

    

	/**
	 * 	 * @return Integer
     * 
	 */
	public Integer getId() {
		return this.id;
	}
	
	/**
	 * Set the id
	 */	
	public void setId(Integer aValue) {
		this.id = aValue;
	}	

	/**
	 * 	 * @return String
	 * 
	 */
	public String getStudent() {
		return this.student;
	}
	
	/**
	 * Set the student
	 */	
	public void setStudent(String aValue) {
		this.student = aValue;
	}	

	/**
	 * 	 * @return String
	 * 
	 */
	public String getPhone() {
		return this.phone;
	}
	
	/**
	 * Set the phone
	 */	
	public void setPhone(String aValue) {
		this.phone = aValue;
	}	

	/**
	 * 	 * @return String
	 * 
	 */
	public String getSchool() {
		return this.school;
	}
	
	/**
	 * Set the school
	 */	
	public void setSchool(String aValue) {
		this.school = aValue;
	}	

	/**
	 * 	 * @return String
	 * 
	 */
	public String getClasses() {
		return this.classes;
	}
	
	/**
	 * Set the classes
	 */	
	public void setClasses(String aValue) {
		this.classes = aValue;
	}	

	/**
	 * 	 * @return String
	 * 
	 */
	public String getSchooltime() {
		return this.schooltime;
	}
	
	/**
	 * Set the schooltime
	 */	
	public void setSchooltime(String aValue) {
		this.schooltime = aValue;
	}	

	/**
	 * 	 * @return java.util.Date
	 * 
	 */
	public java.util.Date getCreateAt() {
		return this.createAt;
	}
	
	/**
	 * Set the createAt
	 */	
	public void setCreateAt(java.util.Date aValue) {
		this.createAt = aValue;
	}	

	/**
	 * 	 * @return Integer
	 * 
	 */
	public Integer getClassId() {
		return this.classId;
	}
	
	/**
	 * Set the classId
	 */	
	public void setClassId(Integer aValue) {
		this.classId = aValue;
	}	

	/**
	 * 	 * @return Integer
	 * 
	 */
	public Integer getDeleteFlag() {
		return this.deleteFlag;
	}
	
	/**
	 * Set the deleteFlag
	 */	
	public void setDeleteFlag(Integer aValue) {
		this.deleteFlag = aValue;
	}	

	/**
	 * @see java.lang.Object#equals(Object)
	 */
	public boolean equals(Object object) {
		if (!(object instanceof ApplyTmp)) {
			return false;
		}
		ApplyTmp rhs = (ApplyTmp) object;
		return new EqualsBuilder()
				.append(this.id, rhs.id)
				.append(this.student, rhs.student)
				.append(this.phone, rhs.phone)
				.append(this.school, rhs.school)
				.append(this.classes, rhs.classes)
				.append(this.schooltime, rhs.schooltime)
				.append(this.createAt, rhs.createAt)
				.append(this.classId, rhs.classId)
				.append(this.deleteFlag, rhs.deleteFlag)
				.isEquals();
	}

	/**
	 * @see java.lang.Object#hashCode()
	 */
	public int hashCode() {
		return new HashCodeBuilder(-82280557, -700257973)
				.append(this.id) 
				.append(this.student) 
				.append(this.phone) 
				.append(this.school) 
				.append(this.classes) 
				.append(this.schooltime) 
				.append(this.createAt) 
				.append(this.classId) 
				.append(this.deleteFlag) 
				.toHashCode();
	}

	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() {
		return new ToStringBuilder(this)
				.append("id", this.id) 
				.append("student", this.student) 
				.append("phone", this.phone) 
				.append("school", this.school) 
				.append("classes", this.classes) 
				.append("schooltime", this.schooltime) 
				.append("createAt", this.createAt) 
				.append("classId", this.classId) 
				.append("deleteFlag", this.deleteFlag) 
				.toString();
	}



}
